//
//  JsonService.h
//  iSale
//
//  Created by liusanchun on 14-9-16.
//  Copyright (c) 2014年 dyqy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JsonService : NSObject

/**
 *  将json字符串转换为NSDictionary或NSArray
 *
 *  @param jsonString json字符串
 *
 *  @return NSDictionary或NSArray
 */
+ (id)jsonObjectWithString:(NSString*)jsonString;

/**
 *  将字典转换为json字符串
 *
 *  @param userInfo 字典
 *
 *  @return json字符串
 */
+ (NSString*)stringWithJsonObject:(NSMutableDictionary*)userInfo;

@end
